package com.eastfair.venueservice.dto;

import com.eastfair.venueservice.enumeration.ServiceItemAuditStateEnum;
import com.eastfair.venueservice.enumeration.ServiceItemServiceStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 实体类
 * 服务项
 * </p>
 *
 * @author linan
 * @since 2022-07-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServiceItemPageQuery", description = "服务项")
public class ServiceItemQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 来源服务id
     */
    @ApiModelProperty(value = "来源服务id")
    private Long sourceId;
    /**
     * 来源系统
     */
    @ApiModelProperty(value = "来源系统")
    @Size(max = 255, message = "来源系统长度不能超过255")
    private String sourceProvider;
    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String serviceName;
    /**
     * 服务编号
     */
    @ApiModelProperty(value = "服务编号")
    private String serviceNo;
    /**
     * 服务分类id
     */
    @ApiModelProperty(value = "服务分类id")
    private List<Long> serviceCategoryId;
    /**
     * 服务部门id/服务商id/主场id
     */
    @ApiModelProperty(value = "服务部门id/服务商id/主场id")
    private Long serviceProviderId;
    /**
     * 供应商类型 字典维护
     */
    @ApiModelProperty(value = "供应商类型 字典维护")
    private String serviceProviderType;
    /**
     * 服务状态  #{DEFAULT:默认;ON_SHELVES:已上架;UNDER_SHELVES:已下架}
     */
    @ApiModelProperty(value = "服务状态  #{DEFAULT:默认;ON_SHELVES:已上架;UNDER_SHELVES:已下架}")
    private ServiceItemServiceStateEnum serviceState;
    /**
     * 审核状态 #{DEFAULT:默认;APPROVED:已审核;NOT_APPROVED:未审核}
     */
    @ApiModelProperty(value = "审核状态 #{DEFAULT:默认;APPROVED:已审核;NOT_APPROVED:未审核}")
    private ServiceItemAuditStateEnum auditState;
    /**
     * 场馆综合展会ID
     */
    @ApiModelProperty(value = "场馆综合展会ID")
    private Long exhibitionManageId;
    /**
     * 是否管理：0不是；1是
     */
    @ApiModelProperty(value = "是否管理：0不是；1是")
    private Integer isManage;
    /**
     * 报馆ID
     */
    @ApiModelProperty(value = "报馆ID")
    private Long reportSpaceId;
    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

}
